package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RequestBase;
import com.fingard.xml.XmlTextReader;

/*短期贷款
* */
public class ReqB310ShortLoan extends RequestBase{
//    指令代码
    public String 	CommandCode	;
//    流水号
    public String 	ReqSeqID	;
//    金额
    public String 	Amount	;
//    期限
    public String 	LimitDate	;
//    用途
    public String 	Usage	;
//    CIF客户号
    public String CIFCode;
//    贷款开始时间
    public String StartDate;
//    贷款结束时间
    public String EndDate;

    private XmlTextReader xmlReader;

    public ReqB310ShortLoan(XmlTextReader p_xmlReader, ReqRespHeader p_header) throws Exception {
        reqHeader = p_header;
        xmlReader = p_xmlReader;

        CommandCode=xmlReader.getSimpleText("CommandCode");
        ReqSeqID=xmlReader.getSimpleText("ReqSeqID");
        Amount=xmlReader.getSimpleText("Amount");
        LimitDate=xmlReader.getSimpleText("LimitDate");
        Usage=xmlReader.getSimpleText("Usage");
        CIFCode = xmlReader.getSimpleText("CIFCode");
        StartDate = xmlReader.getSimpleText("StartDate");
        EndDate = xmlReader.getSimpleText("EndDate");
    }

}
